//
//  MKAuctionObject.m
//  YangDongXi
//
//  Created by 朱艳娇 on 15/11/27.
//  Copyright © 2015年 yangdongxi. All rights reserved.
//

#import "MKAuctionObject.h"
#import "MKItemSKUObject.h"
@implementation MKAuctionObject

+ (NSDictionary *)propertyAndKeyMap
{
    return @{
             @"auctionUid" : @"auction_uid",
             @"auctionType":@"auction_type",
             @"lifeCycle":@"lifecycle",
             @"startingPrice":@"starting_price",
             @"auctionNumber":@"auction_number",
             @"startTime":@"start_time",
             @"endTime":@"end_time",
             @"priceUnit":@"price_unit",
             @"timeUnit":@"time_unit",
             @"depositObject":@"deposit",
             @"endPrice":@"end_price",
             @"nextCutTime":@"next_cut_time",
             @"isBuyer":@"is_buyer",
             @"myPrice":@"my_price"
             };
}
+ (Class)classForArrayItemWithName:(NSString *)propertyName andIndex:(NSInteger)index
{
    if ([propertyName isEqualToString:@"depositObject"])
    {
        return [MKItemSKUObject class];
    }
    return nil;
}

@end
